package com.yusong.test.mybatis.mapper;

import com.yusong.test.mybatis.Person;

import java.util.List;

/**
 * Created by yusong on 2017/3/9.
 */
public interface PersonDao {

    public List<Person> query();

   // @Transactional(propagation = Propagation.REQUIRED,isolation= Isolation.READ_COMMITTED)
   //@Transactional
    public void save(Person p);

    public void delete(int id);

}
